import pickle

class UserSettings:
	basePath = "/home/pi/thermostat/rpi-thermostat/"
	transistorPin = 8
	lastDesiredTemp = 22.0
	sensorType = "22"
	sensorPin = "4"
	sensorExe = "/home/pi/thermostat/rpi-thermostat/Adafruit_DHT"
	settingsFileName = "/home/pi/thermostat/rpi-thermostat/userSettings.pickle"
	
		

	def persist(self):
		pickle.dump(self,open(self.settingsFileName, "wb"))
	
	
